<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base target="center" />
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>修改公告</title>
<style type="text/css">
	h3{ margin-bottom:0px; margin-left:10px;}
	table{ margin-top:25px; width:80%;}
	.a{ display:inline-block; text-align:right; width:25%; line-height:30px; }
	.b{ display:inline-block; text-align:right; width:25%; line-height:30px; position:relative; top:-80px;}
	input[type="text"]{ height:23px; width:500px; line-height:23px; padding-left:5px; margin-top:10px;}
	input[type="submit"]{ height:35px; width:60px;background-color:#036; color:#FFF; font-size:14px; border:none; margin-top:10px;}
	textarea{ padding:5px;margin-top:10px;}
</style>
</head>

<body>
<h3><img src="img/adsa.png" /> 修改公告</h3>
<hr size="2px" width="90%" color="#FF9933" align="left" />
<form action="../MainServlet?option=update&ta=notice&thisID=${sessionScope.list[0].id }" method="post"> 
	
    	<span class="a">公告标题(*)：</span>
        <input type="text" name="noticeTitle" maxlength="50" size="78" value="${sessionScope.list[0].noticeTitle }"/><br />

    	<span class="b">公告内容：</span>
        <textarea rows="10" name="noticeContent" cols="60">${sessionScope.list[0].noticeContent }</textarea><br />

        <span class="a"> </span><input type="submit" value="修改" />
  
</form>
</body>
</html>
